-
Notifications
You must be signed in to change notification settings - Fork 80
Update mypy and make AbstractSaveable.save
return Self
type
#1261
Conversation
@@ -163,7 +166,7 @@ def get_etna_version() -> Tuple[int, int, int]: | |||
return result | |||
|
|||
|
|||
class SaveMixin: | |||
class SaveMixin(AbstractSaveable): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It won't work without this somehow.
🚀 Deployed on https://deploy-preview-1261--etna-docs.netlify.app |
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #1261 +/- ##
=======================================
Coverage 87.98% 87.98%
=======================================
Files 186 186
Lines 10751 10754 +3
=======================================
+ Hits 9459 9462 +3
Misses 1292 1292
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@GrozniyToaster plz help |
It looks like it won't work without inheritance. Mypy is bad at checking abstract class signatures, you can try with Protocols |
This reverts commit 2c5a491.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks nice v2
Before submitting (must do checklist)
Proposed Changes
Closing issues